package com.wk.springboot.constant;

import lombok.Data;

@Data
public class CommonConstant {


    /**
     *  0-初始化 1-处理中（消费者处理） 2-成功 3-失败 4-消费方处理成功 5-消费方处理失败
     */
    @Data
    public static class MessageConstant {
        public static final int WAIT_HANDLE = 0;
        public static final int PENDING = 1;
        public static final int SUCCESS = 2;
        public static final int FAILURE = 3;
        public static final int CONSUMER_SUCCESS = 4;
        public static final int CONSUMER_FAILURE = 5;
        public static final int EXCEED_MAX_RETRY = 6;

    }
}
